.expense-invoice {
  padding: 16px 20px;
  border-radius: 4px;

  &-header {
    display: flex;
    padding-bottom: 20px;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: inset 0 -1px 0 0 #EBEBEB;
  }


  &-header-title {
    font-size: 16px;
    color: #1E2126;
    text-align: justify;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: PingFangSC-Medium;
  }

  &-header-title-right {
    display: flex;
    align-items: center;
  }

  &-origin {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #8B93A7;
    line-height: 14px;
  }

  &-desc {
    font-size: 12px;
    color: #4B8DFF;
    line-height: 12px;
    margin-right: 12px;
  }

  &-icon {
    background: #ffffff;
    padding: 0;
    margin-left: 8px;
    height: 18px;
  }

  &-header-amount {
    display: flex;
    align-items: center;
  }

  &-header-total-amount {
    font-family: DINAlternate-Bold;
    font-size: 20px;
    color: #1E2126;
    white-space: pre-wrap;
    margin-right: 12px;
  }

  &-used-amount {
    font-size: 14px;
    color: #1E2126;
    white-space: pre-wrap;

    &-icon {
      cursor: pointer;
      width: 14px;
    }
  }

  &-header-option {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
  }

  &-top + &-top {
    margin-top: 8px;
  }

  &-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  &-header-buttons {
    display: flex;
    align-items: center;
  }

  &-right-button {
    font-size: 12px;
    color: #4B8DFF;
    line-height: 12px;

    & + .expense-invoice-right-button {
      margin-left: 8px;
    }
  }


  &-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
  }

  &-tag-mar {
    display: flex;
    margin: 2px;
  }

  &-tag {
    font-size: 12px;
    color: #4E5B71;
    text-align: justify;
    line-height: 12px;
    background: #F7F8FA;
    padding: 4px 8px;
    position: relative;
    white-space: nowrap;
  }

  &-icon {
    background: #ffffff;
    padding: 0;
    margin-left: 8px;
  }

  &-change {
    position: absolute;
    background: #FF7110;
    color: white;
    font-size: 16px;
    width: 12px;
    height: 12px;
    text-align: center;
    border-radius: 50%;
    right: -6px;
    top: -6px;
    transform: scale(0.5);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  &-tag + &-tag {
    margin-left: 8px;
  }

  .ant-form-item {
    margin-bottom: 0;
    width: 50%;
  }

  &-header-label {
    font-size: 14px;
    color: #4E5B71;
    line-height: 16px;
  }

  &-header-amount-b {
    font-size: 20px;
    color: #1E2126;
    line-height: 32px;
  }

  &-header-tags {
    font-size: 12px;
    color: #4E5B71;
    text-align: justify;
    line-height: 12px;
    background: #F7F8FA;
    padding: 4px 8px;
  }

  &-header-tags + &-header-tags {
    margin-left: 8px;
  }

  &-base {
    padding-top: 16px;

    & + .expense-invoice-base {
      box-shadow: inset 0 -1px 0 0 #EBEBEB;
    }

    .ant-form-item {
      width: 100%;
    }

    .ant-calendar-picker {
      font-size: 12px;
      width: 100%;
    }

    .ant-input-number {
      width: 100%;
    }

    .ant-form-item-label {
      text-align: left;

      label {
        font-size: 12px;

        &:after {
          content: '';
          color: #4E5B71;
        }
      }
    }

    .ant-input {
      font-size: 12px;
    }

  }

  &-location {
    padding: 16px 0;
  }

  &-cell {
    font-size: 14px;
    color: #1E2126;
    line-height: 20px;
    margin-bottom: 16px;
  }

  &-cell-label {
    color: #4E5B71;
  }

  &-goods {
    margin-top: 12px;
  }

  &-goods-title {
    font-size: 14px;
    color: #1E2126;
  }


}
